package com.kefu.admin.common.globals;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * Created by TWD on 2018/9/28.
 */

@Component
public class Globals {

    /**
     * 是否开启定时任务
     * */
    @Value("${water.parms.taskoff:false}")
    public boolean taskoff;


    public boolean isTaskoff() {
        return taskoff;
    }

    public void setTaskoff(boolean taskoff) {
        this.taskoff = taskoff;
    }
}
